home *** CD-ROM | disk | FTP | other *** search
-
-
-
- XXXXttttOOOOffffffffsssseeeetttt((((3333XXXXtttt)))) XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....6666)))) XXXXttttOOOOffffffffsssseeeetttt((((3333XXXXtttt))))
-
-
-
- NNNNAAAAMMMMEEEE
- XtOffset, XtOffsetOf, XtNumber - determine the byte offset
- or number of array elements
-
- SSSSYYYYNNNNTTTTAAAAXXXX
- Cardinal XtOffset(_p_o_i_n_t_e_r__t_y_p_e, _f_i_e_l_d__n_a_m_e)
- Type _p_o_i_n_t_e_r__t_y_p_e;
- Field _f_i_e_l_d__n_a_m_e;
-
- Cardinal XtOffsetOf(_s_t_r_u_c_t_u_r_e__t_y_p_e, _f_i_e_l_d__n_a_m_e)
- Type _s_t_r_u_c_t_u_r_e__t_y_p_e;
- Field _f_i_e_l_d__n_a_m_e;
-
- Cardinal XtNumber(_a_r_r_a_y)
- ArrayVariable _a_r_r_a_y;
-
- AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
- _a_r_r_a_y Specifies a fixed-size array.
-
- _f_i_e_l_d__n_a_m_e
- Specifies the name of the field for which to
- calculate the byte offset.
-
- _p_o_i_n_t_e_r__t_y_p_e
- Specifies a type that is declared as a pointer to
- the structure.
-
- _s_t_r_u_c_t_u_r_e__t_y_p_e
- Specifies a type that is declared as a structure.
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- The _X_t_O_f_f_s_e_t macro is usually used to determine the offset
- of various resource fields from the beginning of a widget
- and can be used at compile time in static initializations.
-
- The _X_t_O_f_f_s_e_t_O_f macro expands to a constant expression that
- gives the offset in bytes to the specified structure member
- rom the beginning of the structure. It is normally used to
- statically initialize resource lists and is more portable
- than _X_t_O_f_f_s_e_t, which serves the same function.
-
- The _X_t_N_u_m_b_e_r macro returns the number of elements in the
- specified argument lists, resources lists, and other counted
- arrays.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- XtGetResourceList(3Xt), XtSetArg(3Xt)
- _X _T_o_o_l_k_i_t _I_n_t_r_i_n_s_i_c_s - _C _L_a_n_g_u_a_g_e _I_n_t_e_r_f_a_c_e
- _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
-
-
-
-
-
-
- Page 1 (printed 10/3/02)
-
-
-
-